package com.huawei.cloud.phone.management.common.exception;

import org.springframework.http.HttpStatus;

public class UserRepeatException extends BusinessException {
    static final long serialVersionUID = 4034897111145766939L;

    public UserRepeatException(String username) {
        super("CPH.MANAGER.USER.00001", username);
        setHttpCode(HttpStatus.CONFLICT.value());
    }
}
